﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.ServiceModel.Activation;
using Microsoft.Practices.Unity;
using System.ServiceModel;
using Skynet.BusinessEntities;
using Microsoft.Practices.Unity.InterceptionExtension;

namespace Skynet.ServiceImplementation
{
    [AspNetCompatibilityRequirements(RequirementsMode = AspNetCompatibilityRequirementsMode.Allowed)]    
    public class SkynetLibraryRest :  ServiceContracts.ServiceContracts.ISkynetLibraryRest
    {
        //[Dependency]
        //public BusinessLogic.BusinessComponents.IBCExams BCExams { get; set; }

        //[Dependency]
        //public Infrastructure.Aspect.Services.Traslator.IEntityTranslatorService EntityTranslatorService { get; set; }

        //[Dependency]
        //public BusinessLogic.BusinessComponents.IBCExamQueries BCExamQueries { get; set; }

        public string GetSystemDate()
        {
            return  new DateTime().ToString("dddd, MMMM dd, yyyy");             
        }
        public List<ExamCategory> ExamCategories()
        {
        //    var categories = this.BCExamQueries.SearchExamCategories();
        //    var query = from c in categories select c;
        //    return query.ToList();            
            return null; 
        }
    }
}
